﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JXT.PrimaryKey.Batman.Core.WcfService
{
    public class WebSecurityException : WebHttpException {
        public WebSecurityException(string message, Exception innerException)
            : base(innerException, WebHttpErrorCode.Security, System.Net.HttpStatusCode.NotAcceptable, message, "key") {
        }

        public WebSecurityException(string message)
            : this(message, null) {
        }

        public WebSecurityException()
            : this("User Validate Error.") {
        }
    }
}
